-
Notifications
You must be signed in to change notification settings - Fork 113
feat(IT Wallet): [SIW-3261] Add logic to handle L2+ identification for PID issuance #7537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7537 +/- ##
=======================================
Coverage 59.66% 59.67%
=======================================
Files 1859 1860 +1
Lines 40313 40313
Branches 9257 9314 +57
=======================================
+ Hits 24053 24055 +2
+ Misses 16188 16174 -14
- Partials 72 84 +12
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
ale-mazz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested every requested scenario. LGTM!
RiccardoMolinari95
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Short description
This PR refactors the eID issuance state machine to generalize the logic for handling different identification levels. This change improves extensibility and prepares the flow for the upcoming L2+ identification method.
List of changes proposed in this pull request
EidIssuanceLeveltype to define the identification level (and its variations) used during PID issuance. Available values:l2: Documenti su IO issuance using CIE+PIN, CIEID, or SPIDl2-fallback: Documenti su IO issuance using CIEID or SPID (fallback mode)l3: IT Wallet issuance using CIE+PIN or CIEIDl3-next: IT Wallet issuance using CIE+PIN and L2+ (SPID or CIEID with CIE PACE/Internal auth)levelparameter to the eID machine context and thestart/restartevents, replacing the previousisL3andisL2Fallbackflags.isL3IssuanceFeaturesEnabledutility function to determine if the issuance flow is for an L3 or L2 PIDstartandrestartevents now require all parameters to be explicitly provided.Note
l3andl3-nextwill be merged once the L2+ flow will become available to all usersHow to test
Verify that no regressions are introduced in the following flows: